<div class="users form">
<?php echo $form->create('User');?>
	<fieldset>
 		<legend><?php __('Edit User');?></legend>
	<?php
		echo $form->input('id');
		echo $form->input('email');
		echo $form->input('nickname');
        echo $form->input('role', array('options'=>array('admin'=>__('Admin',true), 'member'=>__('Member',true))));
		echo $form->input('newsletter', array('options'=>array(0=>__('Not Subscribe',true), 1=>__('Subscribed',true))));
		echo $form->input('active', array(
            'label' => array('style'=>'float:none; padding-left:5px')
        ));
	?>
	</fieldset>
<?php echo $form->end('Submit');?>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Delete', true), array('action'=>'delete', $form->value('User.id')), null, sprintf(__('Are you sure you want to delete # %s?', true), $form->value('User.id'))); ?></li>
		<li><?php echo $html->link(__('List Users', true), array('action'=>'index'));?></li>
	</ul>
</div>
